package cn.tutu.blockchain.rate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.tutu.blockchain.rate.dao.RateDao;
import cn.tutu.blockchain.rate.entity.Rate;
import cn.tutu.blockchain.rate.service.RateService;

@Service
public class RateServiceImpl implements RateService {

	@Autowired
	private RateDao rateDao;

	@Override
	public Rate getNewRate() {
		return rateDao.findNewRate();
	}

}
